package com.zzyang.aop.demo.interceptor;

/**
 * TODO
 *
 * @author zhuoziyang
 * @date 2021/5/16 22:43
 */
public class MyInterceptor implements Interceptor {
    @Override
    public void before(Invocation invocation) {
        System.out.println("前置执行了");
    }

    @Override
    public Object after(Invocation invocation) {
        return "我被拦截了";
    }
}
